#!/usr/bin/env bash
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"

trigger-nginx-vhosts-post-delete() {
  declare desc="nginx-vhosts post-delete trigger"
  declare trigger="post-delete"

  restart_nginx "$@" >/dev/null
}

trigger-nginx-vhosts-post-delete "$@"
